package com.dtsz.m2.ui.model;

import com.dtsz.m2.utils.RSAEncrypt;

import java.io.Serializable;

/**
 * 用户基本表 biz_users
 *
 * @author reasahi
 * @date 2020-05-02
 */
public class Users implements Serializable {
    private static final long serialVersionUID = 1L;
    private String token;
    private String buTokenM2;

    private String buPhone;
    /**
     * 邀请码
     */
    private String buCode;
    private String bucode;
    private String pbucode;
    /**
     * 二维码连接地址
     */
    private String buQrcode;
    private String buName;
    private String buMail;
    private String buRsaKey;
    private String password;
    private String buCard;

    public String getBuTokenM2() {
        return buTokenM2;
    }

    public void setBuTokenM2(String buTokenM2) {
        this.buTokenM2 = buTokenM2;
    }

    public String getBuCard() {
        return buCard;
    }

    public void setBuCard(String buCard) {
        this.buCard = buCard;
    }

    public String getBucode() {
        return bucode;
    }

    public void setBucode(String bucode) {
        this.bucode = bucode;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {

        this.password = RSAEncrypt.encrypt(password);
    }

    public String getPbucode() {
        return pbucode;
    }

    public void setPbucode(String pbucode) {
        this.pbucode = pbucode;
    }

    public String getBuRsaKey() {
        return buRsaKey;
    }

    public void setBuRsaKey(String buRsaKey) {
        this.buRsaKey = buRsaKey;
    }

    public String getBuName() {
        return buName;
    }

    public void setBuName(String buName) {
        this.buName = buName;
    }

    public String getBuMail() {
        return buMail;
    }

    public void setBuMail(String buMail) {
        this.buMail = buMail;
    }

    private String buSumYes;
    private String buAccountNumber;

    public String getBuAccountNumber() {
        return buAccountNumber;
    }

    public void setBuAccountNumber(String buAccountNumber) {
        this.buAccountNumber = buAccountNumber;
    }

    public String getBuSumYes() {
        return buSumYes;
    }

    public void setBuSumYes(String buSumYes) {
        this.buSumYes = buSumYes;
    }

    /**
     * 是否授权
     */
    private String buIm;

    //是否对上下级隐藏联系方式
    private String buHidden;

    private String buMiningState;
    //实名认证
    private String buCertification;
    private String createTimeStr;
    private String count;

    public String getBuIm() {
        return buIm;
    }

    public void setBuIm(String buIm) {
        this.buIm = buIm;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getBuMiningState() {
        return buMiningState;
    }

    public void setBuMiningState(String buMiningState) {
        this.buMiningState = buMiningState;
    }

    public String getBuCertification() {
        return buCertification;
    }

    public void setBuCertification(String buCertification) {
        this.buCertification = buCertification;
    }

    public String getCreateTimeStr() {
        return createTimeStr;
    }

    public void setCreateTimeStr(String createTimeStr) {
        this.createTimeStr = createTimeStr;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getBuHidden() {
        return buHidden;
    }

    public void setBuHidden(String buHidden) {
        this.buHidden = buHidden;
    }

    private String buToken;

    public String getBuCode() {
        return buCode;
    }

    public void setBuCode(String buCode) {
        this.buCode = buCode;
    }

    public String getBuQrcode() {
        return buQrcode;
    }

    public void setBuQrcode(String buQrcode) {
        this.buQrcode = buQrcode;
    }

    public String getBuToken() {
        return buToken;
    }

    public void setBuToken(String buToken) {
        this.buToken = buToken;
    }

    public String getBuPhone() {
        return buPhone;
    }

    public void setBuPhone(String buPhone) {
        this.buPhone = buPhone;
    }
}

